package com.source.thread;

public class TicketSell  {

    public static void main(String[] args) {

    }


}





class  Tick      {
    private   int  num=200;
    public void sell() {
         if(num>0){
             System.out.println(Thread.currentThread().getName()+"---"+num);
             num--;
         }
    }
}